/*
 * *****************************************************************************
 *  Copyright ( c ) 2019 huibur Inc. All Rights Reserved.
 *
 *  This software is the confidential and proprietary information of Huibur Inc
 *  (*Confidential Information*). You shall not disclose such Confidential Information
 *  and shall use it only in accordance with the terms of the license agreement
 *  you entered into with Huibur or a Huibur authorized
 *  reseller (the "License Agreement*).
 *  ******************************************************************************
 */

package com.huibur.devicecheck.model.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import java.sql.Timestamp;

/*******************************************************
* Title: TaskRecordPO.java
* Description:
* @author baiqingshuo
* @date 2021/9/17
* @version 1.0
*******************************************************/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@TableName("task_record")
public class TaskRecordPO {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    @TableField("task_id")
    private Long taskId;

    /**
     * 提交人
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 暂时废弃
     */
    @TableField("device_id")
    private Long deviceId;

    @TableField("device_label")
    private String deviceLabel;

    /**
     * 提交记录
     */
    @TableField("record")
    private String record;

    /**
     * 照片路径(逗号分割)
     */
    @TableField("image")
    private String image;

    /**
     * 0: 正常 1：删除
     */
    @TableField("is_deleted")
    private Integer isDeleted;

    @TableField("create_at")
    private Timestamp createAt;

    @TableField("create_by")
    private Long createBy;

    @TableField("update_at")
    private Timestamp updateAt;

    @TableField("update_by")
    private Long updateBy;

    /**
     * 状态：0:正常 1:异常
     */
    @TableField("status")
    private Integer status;



}
